#!usr/bin/env python
# -*- coding:utf-8 _*-
"""
@author:chengyanan
@file: unitest_case.py
@time: 2019/12/22  3:11 下午
"""
import unittest


class FirstCase02(unittest.TestCase):
    @classmethod
    def setUpClass(cls):
        print("setupclass02")

    def setUp(self):
        print("setup")
    @unittest.skip("不执行")
    def test_first003(self):
        print("这是第一条case003")

    def test_first002(self):
        print('这是第二条case002')

    def tearDown(self):
        print("teardown02")

    @classmethod
    def tearDownClass(cls):
        print('teardownclass02')


if __name__ == '__main__':
    unittest.main()
    # suite=unittest.TestSuite()
    # suite.addTest(FirstCase01("test_first002"))
    # suite.addTest(FirstCase01("test_first003"))
    # unittest.TextTestRunner().run(suite)